import {
  Card,
  Button,
  List,
  Search,
  Empty,
  Swipe,
  SwipeItem,
  Lazyload,
  Icon,
  CountDown,
  Loading,
  Popup,
  SubmitBar,
  Stepper,
  RadioGroup,
  Radio,
  Cell,
  CellGroup
} from 'vant'

const vant = {
  install: function (Vue) {
    Vue.use(Button)
    Vue.use(List)
    Vue.use(Search)
    Vue.use(Card)
    Vue.use(Empty)
    Vue.use(Swipe)
    Vue.use(SwipeItem)
    Vue.use(Lazyload)
    Vue.use(Icon)
    Vue.use(Loading)
    Vue.use(Popup)
    Vue.use(SubmitBar)
    Vue.use(RadioGroup)
    Vue.use(Radio)
    Vue.use(Cell)
    Vue.use(CellGroup)
    Vue.use(CountDown)
    Vue.use(Stepper)
  }
}
export default vant
